package com.practice.springboot_01_zwj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement  //支持事务管理
@MapperScan("com.practice.springboot_01_zwj.mapper")
@EnableScheduling
public class Springboot01ZwjApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot01ZwjApplication.class, args);
    }

}
